package com.cw.subject.domain.convert;

import com.cw.subject.infra.basic.entity.SubjectBriefPO;
import com.cw.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface BriefSubjectConverter {

    BriefSubjectConverter INSTANCE = Mappers.getMapper(BriefSubjectConverter.class);

    // 由于SubjectBO中存在subjectAnswer属性,这里无需对SubjectAnswerBO进行转化
    SubjectBriefPO convertBoToEntity(SubjectInfoBO subjectInfoBO);

}
